package com.zmn.oms.dubbo.dto.zmn.orderstock;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @ClassName StockScheduleTimeDIO
 * @description:
 * @author: wangyanci
 * @create: 2022-01-12 11:18
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
public class StockScheduleTimeDIO extends DistributeMasterQueryBaseDIO {

    /**
     * 工单id (修改时必传，用于排除本单占用库存)
     */
    private Long workId;

    /**
     * 预约时间常量
     * @see com.zmn.oms.common.constant.OrderGateTypeConsts#GATE_USER
     */
    @NotNull(message = "预约时间常量不能为空")
    private Integer geteType;

}